define(function(require){
	var $ = require("jquery");
	var justep = require("$UI/system/lib/justep");

	var Model = function(){
		this.callParent();
	};


	

	
	Model.prototype.modelLoad = function(event){
		 var iframe = document.getElementById(this.comp("content"));
            if (iframe && !window.opera) {
                iframe.style.display = "block";
                if (iframe.contentDocument && iframe.contentDocument.body.offsetHeight) {
                    iframe.height = iframe.contentDocument.body.offsetHeight + FFextraHeight;
                }
                else if (iframe.Document && iframe.Document.body.scrollHeight) {
                    iframe.height = iframe.Document.body.scrollHeight;
                    //alert(iframe.Document.body.scrollHeight);  
                }
            }
	};


	

	
	return Model;
});